package ggdice

import (
	"wzgames/internal/model/gkindp"
	"wzgames/internal/secure/rng"
)

type Gift struct {
}

func (gf *Gift) Init(cfg *gkindp.DiceConfig) {

}

func (gf *Gift) Update(cfg *gkindp.DiceConfig) {

}

func (gf *Gift) Calculate(servSeed, clientSeed string) float64 {
	num := rng.CalculateHash(servSeed, clientSeed, rng.ChunkSize, 1)[0]
	return rng.DiceResult(num)
}
